-- background: 19510 from stack: in.0 -- bmap block id: 19868 -- flags: 0000 -- background id: 0 -- name: Index ----- HyperTalk script ----- on openBackground end openBackground on closeBackground end closeBackground --on returnkey click at the loc of bkgnd button "Cancel" end returnkey on arrowKey -- do nothing end arrowKey on doMenu action if action is "Text Style..." then send mouseUp to bkgnd button "Return" else pass doMenu end if end doMenu -- part 1 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=343 top=3 right=20 bottom=510 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 20 -- text size: 12 -- style flags: 2304 -- line height: 16 -- part name: Page Number -- part 2 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=2 top=3 right=21 bottom=451 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 20 -- text size: 12 -- style flags: 2304 -- line height: 16 -- part name: Header -- part 71 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=217 top=305 right=337 bottom=253 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Return ----- HyperTalk script ----- on mouseUp global undoMemory go to undoMemory end mouseUp on mouseDown play stop play harpsichord a7e global lastVisitTOC put the seconds into TOC end mouseDown -- part 74 (button) -- low flags: 00 -- high flags: A004 -- rect: left=30 top=57 right=92 bottom=177 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: + Table of Contents ----- HyperTalk script ----- on mouseUp go to card "TOC: Root" end mouseUp